<!--
 * @Author: xixi
 * @Date: 2020-03-05 14:34:52
 * @LastEditors: Please set LastEditors
 * @LastEditTime: 2020-03-06 09:53:33
 * @Description: 这是留言内容展示的页面
 * @FilePath: /react/node-study/feedback/views/index.html
 -->
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>feedback</title>
    <link rel="stylesheet" href="/public/lib/bootstrap.min.css">
</head>
<body>
    <div class="header container">
        <div class="pages-header">
            <h1>pages header <small>subtext</small></h1>
            <a class="btn btn-success" href="/post">发表评论</a>
        </div>
        <div class="comments container">
            <ul class="list-group">
                {{each comments}}
                <li class="list-group-item">{{$value.name}}说：{{$value.msg}} <span class="float-right">{{$value.dateTime}}</span></li>
                {{/each}}
            </ul>
        </div>
    </div>
</body>
<script src=""></script>
</html>